Skip to main content

showFocusBorder

Type

property

Summary

Displays a border around the active control.

Syntax

set the showFocusBorder of <control> to {true | false}

Description

Use the showFocusBorder property to turn off the standard (for Unix systems) focus border around the active control, or to show which field has the insertion point in a dialog box.

The appearance of the focus border is set by the focusColor and focusPattern properties.

If the lookAndFeel property is set to "Macintosh" or "Appearance Manager", the setting of the showFocusBorder property affects only fields, images, and EPS|EPS objects. (To comply with user interface guidelines, this property should be set to true for fields in modal and modeless dialog boxes.)

If the lookAndFeel is set to "Motif", the showFocusBorder property affects all controls.

If the lookAndFeel is set to "Windows 95", the showFocusBorder property has no effect.

The focusBorder of cards and stacks has no effect.

Examples

set the showFocusBorder of field "Answer" to false
set the showFocusBorder of myControl to (the platform is not "MacOS")

object: card, image, field

property: focusPattern, properties

command: modeless, focus, modal

function: stacks

glossary: object, property, EPS, insertion point, dialog box, Unix, active control, control

keyword: field

Compatibility and Support

Introduced

LiveCode 1.1

OS

mac

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?